package com.foreverwin.mes.lims.mapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.foreverwin.mes.lims.model.InspectPlanDetail;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Levy
 * @since 2020-02-20
 */
@Repository
public interface InspectPlanDetailMapper extends BaseMapper<InspectPlanDetail> {

    /**
     * 查找检验类型的计划明细
     * @param inspectType
     * @param site
     * @return
     */
    List<InspectPlanDetail> selectDetailByType(@Param("inspectType")String inspectType,@Param("site") String site);
}